/*
 *  This file is part of WWWPal.
 *
 *  Copyright (C) 2003  Dr. John Punin, Department of Computer Science
 *  Rensselaer Polytechnic Institute
 *
 *  WWWPal is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  WWWPal is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Foobar; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef ALIST_H
#define ALIST_H

#include "llist.h"

LNode_type *
init_assoc_list(void);
int
delete_assoc_list(LNode_type *alist);
int
add_object_assoc_list(LNode_type *alist, const char *aname, 
		      const char *avalue);
int 
replace_object_assoc_list(LNode_type *alist, const char *aname, 	
			  const char *avalue);
const char *
find_value_assoc_list(LNode_type *alist, const char *aname);
int
remove_object_assoc_list(LNode_type *alist, const char *aname);

LNode_type *
copy_assoc_list(LNode_type *alist);

int
get_node_info_assoc_list(LNode_type *node, char **aname, char **avalue);

#endif



